#include <gtkmm.h>
#include <gtkmm/main.h>
#include <gtkmm/window.h>
class Viewer:public Gtk::Bin
{
public:
    Viewer():table_(2, 2), button_("ZHU"){
        add(table_);
        table_.attach(button_, 0, 1, 0, 1);
        button_.show();
        show_all();
        show_all_children();
    }
private:
    Gtk::Table table_;
    Gtk::Button button_;
};
class Window:public Gtk::Window
{
public:
    Window(){
        add(viewer_);
        show_all();
        viewer_.show();
    }
private:
    Viewer viewer_;
};
int main (int argc,char *argv[])
{
    Gtk::Main kit(argc, argv);
    Window win;
    Gtk::Main::run(win);
    return 0;
}

    
    
            
    
    
